package com.cunyu.service;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import cn.tom.kit.cache.TimedCache;

@Configuration
public class AppConfig {

	@Bean(name = "timedCache")
	public TimedCache<String, Object> listStrBean() {
		return new TimedCache<String, Object>(30 * 6000);
	}
}
